#pragma once

#define CFP_VERSION 10
#define CFP_EXTNAME ".cfp"

#pragma pack(push)
#pragma pack(1)
struct CFPHeadItem
{
	DWORD	dwStartOffset;
	DWORD	dwEndOffset;
	DWORD	dwDeCompSize;
	DWORD	dwLastTime;
	WORD	wSize;
	char	strName[1];
};

struct CFPHead 
{
	DWORD	dwFlag;
	DWORD	dwFileCount;
	DWORD	dwCompPlugin;
	DWORD	dwPatchTarget;
	DWORD	dwPatchVersion;
	BYTE	byVer;
	BYTE	bComp;
	WORD	wRecv;
};
#pragma pack(pop)